<!-- 创建学员评教活动 -->
<template>
  <div class="assessment-container">
    <div class="search-container">
      <div class="search-container-left">
        <div class="search-container-item">
          <span>学期：</span>
          <el-select
            v-model="termid"
            style="width: 90px"
            size="mini"
            placeholder="请选择"
          >
            <el-option
              v-for="item in xqList"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </el-select>
        </div>
      
        <div class="search-button" @click="queryPostList">
          <img src="../../../assets/assessment/icon-search.png" alt=""/>
          <span>查询</span>
        </div>
         <div class="export-button" style="margin-left:20px" @click="showInportReportDialog = true">
         
          <span>创建教学评价</span>
        </div>
        <div class="export-button" style="width:200px" @click="saveTding">
        
          <span>创建期中教学评价</span>
        </div>
        <div class="search-button" style="width:150px" @click="toMakeupScoreEntry">
         
          <span>创建专项活动评价</span>
        </div>
      </div>

    </div>
    <div class="plan-entry-table-container">
      <el-table
        :data="tableData"
        border
        style="width: 100%"
        class="table-data"
        row-class-name="row-class"
        cell-class-name="cell-class"
        header-row-class-name="header-row-class"
        header-cell-class-name="header-cell-class"
        @selection-change="handleSelectionChange"
      >
       
        <el-table-column prop="teachingandresearchsection" label="评价活动名称" width="170" align="center">
        </el-table-column>
        <el-table-column prop="coursenumber" label="类型" width="98" align="center">
          
        </el-table-column>
        <el-table-column prop="grade" label="学期" width="124" align="center">
        </el-table-column>
        <el-table-column prop="classes" label="开始时间" width="160" align="center">
        </el-table-column>
        <el-table-column
          prop="professionaldivisions"
          label="结束时间"
          width="160"
          align="center"
        >
        </el-table-column>
        <el-table-column prop="teachingfaculty" label="指标体系" width="225" align="center">
        </el-table-column>
        <el-table-column prop="shouldrecord" label="各个等级比例限制" width="225" align="center">
        </el-table-column>
         <el-table-column
          prop="dccjd"
          label="未评价学员"
          width="212"
          align="center"
        >
          <template slot-scope="scope">
            <div class="lucj-expot-button" @click="showManualEntryDialogascD=true">
              <span >查看</span>
            </div>
        
          </template>
        </el-table-column>
        <el-table-column
          prop="dccjd"
          label="评价结果"
          width="212"
          align="center"
        >
          <template slot-scope="scope">
            <div class="lucj-expot-button" @click="showManualEntryDialogascD=true">
              <span >查看</span>
            </div>
        
          </template>
        </el-table-column>
        <el-table-column
          prop="dccjd"
          label="操作"
          width="232"
          align="center"
        >
          <template slot-scope="scope">
            <div class="lucj-expot-button" @click="showManualEntryDialogascD=true">
              <span >修改</span>
            </div>
            <div class="lucj-expot-button">
              <span>编辑</span>
            </div>
          </template>
        </el-table-column>
        
        
      </el-table>
    </div>
    <div class="bottom-block">
      <div class="export-button">
        <img src="../../../assets/assessment/icon-export.png" alt=""/>
        <span>导出Excel</span>
      </div>
      
    </div>

    <el-dialog
      title="批量审核"
      :visible.sync="showInportReportDialog"
      class="import-report-container"
      width="453px"
    >
        <span slot="footer" class="dialog-footer">
        <button class="green" style="margin-right:70px" @click="showInportReportDialog = false">
          通过
        </button>
        <button class="green" @click="showInportReportDialog = false">
          驳回
        </button>
      </span>
     
    </el-dialog>

     <el-dialog
      title="修  改"
      :visible.sync="showManualEntryDialogascD"
      width="1185px"
      class="manual-entry-containerass" 
    >
      <div s>
       <el-row>
          <el-col :span="16">
            <div>教研室</div>
            <div class="my-cas">
                <span class="my-from-span">{{a1}}</span>
            </div>
          </el-col>
        </el-row>
       <el-row>
          <el-col :span="16">
            <div>课程名称</div>
            <div class="my-cas">
                <span class="my-from-span">{{a2}}</span>
            </div>
          </el-col>
        </el-row>
      <el-row>
          <el-col :span="16">
            <div>教学班</div>
            <div class="my-cas">
               <span class="my-from-span">{{a3}}</span>
            </div>
          </el-col>
        
        </el-row>
         <el-row>
          <el-col :span="16">
            <div>参评对象</div>
             <div class="my-cas">
                <span class="my-from-span">{{a4}}</span>
                <div class="my-form-item-value" style="margin-top:70px; height: 100px;" @click="showYprDial(1)">
                <img src="../../../assets/home/grena-anniu.png" alt=""/>
              </div>
              <showYprDialog :dialogTitle="dialogTitle" :showYprDialog='showYprDialog'
                             @showYprDialClick="showYprDialClick"
                             @renew="renew"></showYprDialog>

            </div>
          </el-col>
        
        </el-row>
         
         <el-row>
          <el-col :span="16">
            <div>修改说明</div>
            <div class="my-cas" >
             <el-input
                v-model="class_nameaca5"
                type="textarea"
                    placeholder="请输入内容"
                  
                    :rows="3"
                    maxlength="300"
                    show-word-limit
                    style="width: 100%"
              ></el-input>
            </div>
          </el-col>
        
        </el-row>

      </div>
       <span slot="footer" class="dialog-footer" >
        <button class="yellow" style="width:95px" @click="dialogClickconfirm('Message')">取 消</button>
      </span>
      <span slot="footer" class="dialog-footer">
        <button @click="showManualEntryDialogascD = false">保存</button>
      </span>
    </el-dialog>
  </div>
</template>

<script>
import {getList, conditionPostList, savePListss,saveListss } from "../../../api/courseAchievement/printEntry";
import showYprDialog from "@/views/comonents/showYprDialog";
export default {
   components: {
    showYprDialog,
  },
  data() {
    return {
      a1:"名称填写",
      a2:"A,B,C,D",
      a3:"A",
      a4:"张三",
      planidArr:[],
       showYprDialog: '',
      termid: "",
       dialogTitle: '选择教员',
      xqList: [
        {
          value: "2021秋",
          label: "2021秋",
        },
        {
          value: "2020夏",
          label: "2020夏",
        },
      ],
      traininglevel: "大专",
      pyccList: [
        {
          value: "大专",
          label: "大专",
        },
        {
          value: "本科",
          label: "本科",
        },
      ],
      studytype: "必修",
      xxlxList: [
        {
          value: "选修",
          label: "选修",
        },
        {
          value: "必修",
          label: "必修",
        },
      ],
      tableData: [
        {
          lrcj: "",
          dccjd: "",
          teachingandresearchsection: "政治教研室",
          coursenumber: "061029(博士课)",
          grade: "2021",
          classes: "2021-(博士课)话语分析专题研究jxb-1",
          professionaldivisions: "021英语语言学",
          yzjy: "张某某",
          teachingfaculty: "张某某", shouldrecord: "正常",
        },
         {
          lrcj: "",
          dccjd: "",
          teachingandresearchsection: "政治教研室",
          coursenumber: "061029(博士课)",
          grade: "2021",
          classes: "2021-(博士课)话语分析专题研究jxb-1",
          professionaldivisions: "021英语语言学",
          yzjy: "张某某",
          teachingfaculty: "张某某", shouldrecord: "正常",
        },
      ],
      coursename: "",

      showManualEntryDialogascD: false,
      showInportReportDialog: false,
      reportType: "课下作业",
      reportTypes: [
        {label: "课下作业", value: "课下作业"},
        {label: "课下测评", value: "课下测评"},
        {label: "期中考试", value: "期中考试"},
        {label: "课终考核", value: "课终考核"},
      ],
      reportTypep: "按教学班导出",
      reportTypepss: [
        {label: "按教学班导出", value: "按教学班导出"},
        {label: "按课程导出", value: "按课程导出"},

      ],
    };
  },
methods: {
    //点击选择监考员
    //教员评教信息核对(查询)EditUpdate(item.evalactorid)
    showYprDialClick: function (teacherid) {
      this.showYprDialog = teacherid
    },
    showYprDialClick: function (row) {
      this.showYprDialog = row
      console.log(this.showYprDialog)
    },
     showYprDialogclosure() {
      this.showYprDialog = false;
      let arr = [];
      for (const Key in this.handleSelection) {
        arr[Key] = this.handleSelection[Key].id
      }
      let str = arr.join(",");
      this.form.newteaexam = str;

    },
    
    handleSelectionChange(val) {
       //定义一个临时数组 
       for(var i = 0; i < val.length; i++){    //循环遍历当前数组 
           //判断当前数组下标为i的元素是否已经保存到临时数组 
           //如果已保存，则跳过，否则将此元素保存到临时数组中 
           if(this.planidArr.indexOf(val[i].planid) == -1){ 
               this.planidArr.push(val[i].planid); 
           } 
       } 
       return console.log(this.planidArr); 
    },
    saveTding(){
   
      return new Promise(() => {
      savePListss(this.planidArr).then(res => {
        this.tableData = res.data.data
      })
      }) 
    },
    queryListss(){
      if(this.reportTypep == "按教学班导出"){
        let classesid = [];
        classesid.push(this.planidArr);
          let fx = this.reportType;
          let list = "";
          return new Promise(() => {
          saveListss(classesid,fx,list).then(res => {
  
         this.showExportReportDialog=false
         console.log( this.showExportReportDialog)
      })
    }) 
      }else{
          let list=[];
          list.push(this.planidArr);
            let fx = this.reportType;
            let classesid ="";
      return new Promise(() => {
      saveListss(classesid,fx,list).then(res => {

         this.showExportReportDialog=false
         console.log( this.showExportReportDialog)
      })
      }) 
      }
    },
    toManualEntry(planid) {
      this.$router.push({path:"/teacher/courseAchievement/manualEntry",query:{planid:planid}});
    },
    toMakeupScoreEntry() {
      this.$router.push("/teacher/courseAchievement/entryResults");
    },
    getList: function () {
     
      return new Promise(() => {
            getList().then(res => {
          console.log("查看数据")
            this.tableData = res.data.data;
          console.log(res.data.data, 'res.data.data')
          // console.log(this.config)
        })
      })
    },
     //点修改完成页面参评对象的修改
    showYprDial(teacherid, evalactorid) {
      this.evalactorid = evalactorid
      this.dialogTitle = '选择监考员'
      this.showYprDialClick(teacherid)
    },
    systemJianKao(zId) {
      this.showYprDialClick(1, 2);
      this.classId = zId;
      this.className = this.from.newteaexam;
      console.log("zId" + zId);
      this.sysJianKao();
      this.queryTeaCoursePlanList();
    },
    updateJiankao(zId, fz) {
      this.showYprDialClick(fz);
      this.classId = zId;
      this.className = this.from.newteaexam;
      this.sysJianKao();
      this.queryTeaCoursePlanList();
    },
    queryPostList:function(){

      let obj={
      termid:this.termid,
      traininglevel:this.traininglevel,
      studytype:this.studytype,
      coursename:this.coursename
      }
      return new Promise(() => {
      conditionPostList(obj).then(res => {
        this.tableData = res.data.data
      })
    }) 
    }
  },
  mounted() {

    this.getList();
  },
};
 
</script>
<style lang="less" scoped>

    .my-cas {
    margin-right: -200px;
    margin-left: 30px;
    }
   .my-from-span{
    width: 195px;
    height: 39px;
    font-size: 17px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    line-height: 39px;
    color: #004CA7;
    opacity: 1;
   }
  .back-container {
    .back-text {
      margin-top: 33px;

      > div {
        display: inline-block;

        &:nth-child(1) {
          padding-left: 111px;
          font-size: 20px;
          color: rgba(0, 76, 167, 1);
          font-weight: bold;
          vertical-align: top;
        }
      }
    }

    .el-dialog__footer {
      padding-bottom: 95px;
     
    }
  }
 .manual-entry-container {
    .el-dialog__body {
      height: 390px;
      > div {
        width: 1014px;
        border: 1px solid rgba(0, 76, 167, 0.8);
        border-radius: 6px;
        margin: 0 auto;
        > div {
          border-bottom: 1px solid rgba(0, 76, 167, 0.39);
          &:last-child {
            border-bottom: none;
          }
          > div {
            display: flex;
            > div {
              height: 96px;
              display: flex;
              align-items: center;
              justify-content: center;
              &:nth-child(1) {
                width: 420px;
                text-align: center;
                font-size: 16px;
                font-weight: bold;
                color: #004ca7;
                background: rgba(77, 129, 192, 0.1);
              }
              &:nth-child(2) {
                padding-left: 19px;
              }
            }
          }
        }
      }
    }
    .el-dialog__footer {
      padding-bottom: 43px;
    }
    .dialog-footer {
      > button {
        width: 87px;
        height: 36px;
        background: #fff6ef;
        border: 1px solid #f3b815;
        border-radius: 6px;
        background: rgba(255, 246, 239, 1);
        font-size: 18px;
        color: #f3b815;
      }
    }
  }
  .message-container {
    .message-text {
      > div {
        padding: 57px 0 63px 0;
        font-size: 18px;
        font-family: Microsoft YaHei;
        font-weight: bold;
        line-height: 20px;
        color: #004ca7;
        text-align: center;
      }
    }

    .el-dialog__footer {
      padding-bottom: 95px;
       display: flex;
    justify-content: space-evenly;
    }
  }

  .paper-message-container {
    .paper-message-text {
      > div {
        padding: 57px 0 63px 0;
        font-size: 18px;
        font-family: Microsoft YaHei;
        font-weight: bold;
        line-height: 20px;
        color: #004ca7;
        text-align: center;
      }
    }

    .el-dialog__footer {
      padding-bottom: 95px;
    }

    .confirm-button {
      width: 87px;
      height: 36px;
      padding: 0;
      background: #f1fff8;
      border: 1px solid #02c86c;
      border-radius: 4px;
      font-size: 18px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #02c86c;
      cursor: pointer;
      margin-right: 92px;
    }

    .cancle-button {
      .confirm-button;
      background: #fff6ef;
      border: 1px solid #f3b815;
      color: #f3b815;
      margin-right: 0px;
    }
  }

  .upload-paper-container {
    .paper-container {
      width: 100%;
      height: 236px;
      opacity: 1;

      .paper-container-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        font-family: Microsoft YaHei;

        margin-bottom: 35px;
        border: 1px solid #004CA7;

        .paper-container-box1 {
          width: 233px;
          height: 126px;
          background: rgba(0, 76, 167, 0.1);
          opacity: 0.1;
          border-radius: 5px 0px 0px 0px;
          display: flex;
          align-items: center;
          justify-content: center;

          .title {
            width: 90px;
            height: 24px;
            font-size: 18px;
            font-family: Microsoft YaHei;
            font-weight: bold;
            line-height: 20px;
            color: rgba(0, 76, 167, 1);
            opacity: 1;
          }
        }

        .paper-container-box2 {
          margin-left: 15px;
        }

        .upload-button {
         
        }

        .file-name {
          max-width: 340px;
          margin-right: 10px;
        }

        .scan-button {
          width: 62px;
          height: 28px;
          line-height: 28px;
          background: #fff6ef;
          border: 1px solid #f3b815;
          border-radius: 4px;
          font-size: 16px;
          font-family: Microsoft YaHei;
          font-weight: 400;
          color: #f3b815;
          text-align: center;
          cursor: pointer;
        }

        .download-button {
          .scan-button;
          background: #f1f8fe;
          border: 1px solid #51aef6;
          color: #51aef6;
        }

        img {
          width: 18px;
          height: 19px;
          margin-right: 14px;
        }

        .re-upload-button {
          .upload-button;
          width: 80px;
          color: #02c86c;
          border: 1px solid #02c86c;
          background: #dfffef;

          input {
            width: 80px;
          }
        }
      }
    }

    .el-dialog__footer {
      padding-bottom: 95px;
    }

    .confirm-button {
      width: 87px;
      height: 36px;
      padding: 0;
      background: rgba(90, 101, 204, 0.1);
      border: 1px solid #5230e9;
      border-radius: 4px;
      font-size: 18px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #5230e9;
      cursor: pointer;
      margin-right: 92px;
    }

    .cancle-button {
      .confirm-button;
      background: #ffefef;
      border: 1px solid #ff3819;
      color: #ff3819;
      margin-right: 0px;
    }

    .download-button {
      .confirm-button;
      background: #f1f8fe;
      border: 1px solid #51aef6;
      color: #51aef6;
      margin-right: 92px;
    }
  }

  .plan-entry-table-container {
    margin-top: 30px;

    .el-table td,
    .el-table th.is-leaf,
    .el-table--border,
    .el-table--group {
      border-color: #c7d7eb;
    }

    .el-table__header tr,
    .el-table__header th {
      padding: 0;
      height: 76px;
      background-color: #edf2f9;
      font-size: 16px;
      font-family: Microsoft YaHei;
      font-weight: bold;
      line-height: 20px;
      color: #004ca7;
    }

    .el-table__body tr,
    .el-table__body td {
      padding: 0;
      height: 86px;
    }

    .export-button {
      background: #ebe6ff;

      cursor: pointer;

      background: #fff6ef;
      border: 1px solid #5230e9;
      width: auto;
      height: 28px;
      line-height: 28px;
      border-radius: 6px;
      cursor: pointer;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;

      > span {
        font-size: 14px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #f3b815;
      }

      > img {
        width: 16px;
        height: 16px;
        margin-right: 5px;
      }
    }

    .bk-lucj-import-button {
      .export-button;
      width: 70px;
      background: #f1fff8;
      border: 1px solid #02c86c;
      box-sizing: border-box;
      margin: 0 auto 12px;

      &:last-child {
        margin-bottom: 0px;
      }

      > span {
        color: #02c86c;
      }
    }

    .bk-lucj-expot-button {
      .export-button;
      width: 156px;
      background: #fef1e8;
      border: 1px solid #f86900;
      box-sizing: border-box;
      margin: 0 auto 12px;

      &:last-child {
        margin-bottom: 0px;
      }

      > span {
        color: #f86900;
      }
    }

    .tjst-button {
      width: 78px;
      height: 27px;
      line-height: 27px;
      background: #f1f8fe;
      border: 1px solid #51aef6;
      border-radius: 4px;
      text-align: center;
      font-size: 14px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #51aef6;
      cursor: pointer;
    }

    .dh-button {
      .tjst-button;
      margin-top: 12px;
      background: #ffefef;
      border: 1px solid #ff3819;
      color: #ff3819;
    }

    .cx-button {
      .tjst-button;
      background: #ffefef;
      border: 1px solid #ff3819;
      color: #ff3819;
    }

    .cz-block {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .txmtjh-button {
      .tjst-button;
      width: 114px;
      background: #fff6ef;
      border: 1px solid #f3b815;
      color: #f3b815;
    }

    .ckmtjh-button {
      .tjst-button;
      width: 114px;
      background: #f1fff8;
      border: 1px solid #02c86c;
      color: #02c86c;
    }

    .xz-button {
      .tjst-button;
      width: 51px;
      background: #edf2f9;
      border: 1px solid #004ca7;
      color: #004ca7;
    }

    .name-button {
      font-size: 14px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      line-height: 25px;
      color: #004ca7;
      text-decoration: underline;
    }

    .name-button:hover {
      font-size: 14px;
      font-family: Microsoft YaHei;
      font-weight: bold;
      line-height: 25px;
      color: #187ef8;
    }

    .upload-button {
      .tjst-button;
      width: 98px;
      margin: 0 5px;
      background: #efebff;
      border: 1px solid #5230e9;
      color: #5230e9;
    }

    .download-button {
      .tjst-button;
      width: 48px;
      margin: 0 5px;
    }

    .yl-button {
      .tjst-button;
      width: 48px;
      margin: 0 5px;
      background: #fff6ef;
      border: 1px solid #f3b815;
      color: #f3b815;
    }

    .cz-row-block {
      display: flex;
      flex-direction: row;
          justify-content: space-evenly;
            align-items: center;
            .download-buttones{
                align-items: center;
             width: 78px;
          height: 28px;
          line-height: 28px;
         background: #EFEBFF;
        border: 1px solid #5230e9;
      
          border-radius: 6px;
          cursor: pointer;
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: center;
         
          > span {
            font-size: 16px;
            font-family: Microsoft YaHei;
            font-weight: 400;
           color: #5230e9;
          }
          > img {
            width: 16px;
            height: 16px;
            margin-right: 10px;
          }
          }  
          .download-buttons{
                align-items: center;
             width: 78px;
          height: 28px;
          line-height: 28px;
          background: #ffefef;
          border: 1px solid #ff3819;
          border-radius: 6px;
          cursor: pointer;
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: center;
         
          > span {
            font-size: 16px;
            font-family: Microsoft YaHei;
            font-weight: 400;
            color: #fb563c;
          }
          > img {
            width: 16px;
            height: 16px;
            margin-right: 10px;
          }
          }
          .ztcz-detail {
          .download-buttons;
          background: #f1fff8;
          border: 1px solid #02c86c;
          > span {
            font-size: 16px;
            font-family: Microsoft YaHei;
            font-weight: 400;
            color: #02c86c;
          }
        }
          
    }

    .zz-button {
      .tjst-button;
      width: 132px;
      margin: 5px;
      background: #efebff;
      border: 1px solid #5230e9;
      color: #5230e9;
    }

    .tx-button {
      .tjst-button;
      width: 132px;
      letter-spacing: 2px;
      margin: 0 5px;
      background: #f1f8fe;
      border: 1px solid #51aef6;
      color: #51aef6;
    }

    .sjfx-button {
      .tjst-button;
      width: 114px;
      margin: 0 5px;
      background: #fff6ef;
      border: 1px solid #f3b815;
      color: #f3b815;
    }
  }

  .choose-ypr-container {
    width: 767px;
    margin: 0px auto;

    .choose-ypr-search-container {
      .el-input--prefix .el-input__inner {
        padding-left: 30px;
      }

      .el-input__inner {
        &::placeholder {
          color: #b8b8b8;
        }

        &::-webkit-input-placeholder {
          /* WebKit browsers 适配谷歌 */
          color: #b8b8b8;
        }

        &:-moz-placeholder {
          /* Mozilla Firefox 4 to 18 适配火狐 */
          color: #b8b8b8;
        }

        &::-moz-placeholder {
          /* Mozilla Firefox 19+ 适配火狐 */
          color: #b8b8b8;
        }

        &:-ms-input-placeholder {
          /* Internet Explorer 10+  适配ie*/
          color: #b8b8b8;
        }
      }

      display: flex;
      flex-direction: row;
      align-items: center;

      .title {
        font-size: 18px;
        font-family: Microsoft YaHei;
        font-weight: bold;
        line-height: 20px;
        color: #004ca7;
        margin-right: 5px;
      }

      .search-button {
        width: 127px;
        height: 28px;
        line-height: 28px;
        background: #f1f8fe;
        border: 1px solid #51aef6;
        border-radius: 6px;
        cursor: pointer;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;

        > span {
          font-size: 16px;
          font-family: Microsoft YaHei;
          font-weight: 400;
          color: #51aef6;
        }

        > img {
          width: 20px;
          height: 20px;
          margin-right: 4px;
        }
      }

      .button-list {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-left: 21px;

        .button-item {
          display: flex;
          flex-direction: row;
          align-items: center;
          justify-content: center;
          position: relative;
          width: 69px;
          height: 27px;
          line-height: 27px;
          border: 1px solid #004ca7;
          border-radius: 4px;
          margin-right: 10px;
          text-align: center;
          font-size: 14px;
          font-family: Microsoft YaHei;
          font-weight: 400;
          color: #004ca7;

          .del-icon {
            position: absolute;
            right: 0px;
            top: 0px;
            width: 12px;
            height: 12px;
            padding: 2px;
          }
        }
      }
    }

    .choose-ypr-table-container {
      margin-top: 30px;

      .el-table td,
      .el-table th.is-leaf,
      .el-table--border,
      .el-table--group {
        border-color: #c7d7eb;
      }

      .el-table__header tr,
      .el-table__header th {
        padding: 0;
        height: 57px;
        background-color: #edf2f9;
        font-size: 16px;
        font-family: Microsoft YaHei;
        font-weight: bold;
        line-height: 20px;
        color: #004ca7;
      }

      .el-table__body tr,
      .el-table__body td {
        padding: 0;
        height: 51px;
      }

      .table-data {
        width: 100%;
        border: 0.8px solid #004ca7;
        border-radius: 9px;
        font-size: 14px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #004ca7;
      }
    }
  }
   .manual-entry-containerass {
     
    .el-dialog__body {
     
      > div {
        width: 1014px;
        border: 1px solid rgba(0, 76, 167, 0.8);
        border-radius: 6px;
        margin: 0 auto;
        > div {
          border-bottom: 1px solid rgba(0, 76, 167, 0.39);
          &:last-child {
            border-bottom: none;
          }
          > div {
            display: flex;
            > div {
              width: 900px;
              height: 96px;
              display: flex;
              align-items: center;
              justify-content: center;
              &:nth-child(1) {
                width: 900px;
                text-align: center;
                font-size: 16px;
                font-weight: bold;
                color: #004ca7;
                background: rgba(77, 129, 192, 0.1);
              }
            
            }
          }
        }
      }
    }
    .el-dialog__footer {
      padding-bottom: 43px;
    }
    .dialog-footer {
      > button {
        width: 87px;
        height: 36px;
        background: #fff6ef;
        border: 1px solid #f3b815;
        border-radius: 6px;
        background: rgba(255, 246, 239, 1);
        font-size: 18px;
        color: #f3b815;
      }
    }
  }
  .pagination-block {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

.import-report-container{
  height: 400px;
}
.el-table .cell {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-all;
    line-height: 23px;
    display: flex;
    justify-content: center;
}
.manual-entry-container {
  
}

.assessment-container {
  
}

.plan-entry-table-container {
  margin-top: 30px;

  .el-table td,
  .el-table th.is-leaf,
  .el-table--border,
  .el-table--group {
    border-color: #c7d7eb;
  }

  .el-table__header tr,
  .el-table__header th {
    padding: 0;
    height: 76px;
    background-color: #edf2f9;
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    line-height: 20px;
    color: #004ca7;
  }

  .el-table__body tr,
  .el-table__body td {
    padding: 0;
    height: 86px;
  }

  .el-checkbox__inner:hover {
    border-color: #004ca7;
  }

  .el-checkbox__inner {
    border: 1px solid #004ca7;
    border-radius: 0;
  }

  .el-checkbox__input.is-checked .el-checkbox__inner,
  .el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: #004ca7;
    border-color: #004ca7;
  }

  .el-checkbox__input.is-checked + .el-checkbox__label {
    color: #004ca7;
  }

  .el-checkbox.is-bordered.is-checked {
    border-color: #004ca7;
  }

  .el-checkbox__input.is-focus .el-checkbox__inner {
    border-color: #004ca7;
  }

  .export-button {
    background: #fff6ef;
    border: 1px solid #f3b815;
    width: auto;
    height: 28px;
    line-height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    box-sizing: border-box;

    > span {
      font-size: 16px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #f3b815;
    }

    > img {
      width: 16px;
      height: 16px;
      margin-right: 5px;
    }
  }

  .lucj-import-button {
    .export-button;
    width: 116px;
    margin: 0 auto 12px;
    background: #f1fff8;
    border: 1px solid #02c86c;

    &:last-child {
      margin-bottom: 0px;
    }

    > span {
      color: #02c86c;
    }
  }

  .lucj-expot-button {
    .export-button;
    background: #fff6ef;
    border: 1px solid #f3b815;
    width: 81px;
    margin: 0 auto 12px;

    &:last-child {
      margin-bottom: 0px;
    }

    > span {
      color: #f3b815;
    }
  }
}
</style>

<style lang="less" scoped>
@import "../../../styles/print-entry.less";
  
.plan-entry-table-container {
  margin-top: 30px;

  .table-data {
    width: 100%;
    border: 0.8px solid #004ca7;
    border-radius: 9px;
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #004ca7;
  }
}
</style>
